package org.secangkirkopipanas.gxtcore.domain.dto;

import java.io.Serializable;
import java.util.Date;

public class SystemVisitDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	private String username;
	private String ipAddress;
	private Date accessTime;
	private String sessionKey;

	public SystemVisitDTO() {
	}

	public SystemVisitDTO(String loginName, String ipAddress, Date accessTime,
			String sessionKey) {
		this.username = loginName;
		this.ipAddress = ipAddress;
		this.accessTime = accessTime;
		this.sessionKey = sessionKey;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public Date getAccessTime() {
		return accessTime;
	}

	public void setAccessTime(Date timestamp) {
		this.accessTime = timestamp;
	}

	public String getSessionKey() {
		return sessionKey;
	}

	public void setSessionKey(String sessionKey) {
		this.sessionKey = sessionKey;
	}

}
